package com.szeastroc.core.bean.system;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by jie on 2018/2/24.
 */
@Entity
@Table(name="t_system_user_role")
public class SystemUserRole {
	@EmbeddedId 
    private Integer userId;

	@EmbeddedId 
    private Integer roleId;
	
    public SystemUserRole(Integer userId, Integer roleId) {
		super();
		this.userId = userId;
		this.roleId = roleId;
	}

	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
